AUTOMAKE_OPTIONS = subdir-objects
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}

lib_LTLIBRARIES = libjmtools-@JMTOOLS_API_VERSION@.la
libjmtools_@JMTOOLS_API_VERSION@_la_SOURCES = jmtools/DateTime.cpp \
					jmtools/Log.cpp jmtools/LogManager.cpp \
					jmtools/ConfigGroup.cpp jmtools/ConfigFile.cpp \
					jmtools/INIConfigFile.cpp
libjmtools_@JMTOOLS_API_VERSION@_la_LDFLAGS = -version-info $(JMTOOLS_SO_VERSION)

jmtools_includedir = $(includedir)/jmtools-$(JMTOOLS_API_VERSION)
nobase_jmtools_include_HEADERS = jmtools/JMTools.h jmtools/win.h \
				jmtools/Singleton.h jmtools/DateTime.h \
				jmtools/LogManager.h jmtools/LogType.h jmtools/Log.h \
				jmtools/ConfigFile.h jmtools/INIConfigFile.h \
				jmtools/ConfigGroup.h

jmtools_libincludedir = $(libdir)/jmtools-$(JMTOOLS_API_VERSION)/include
nodist_jmtools_libinclude_HEADERS = jmtoolsconfig.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = jmtools-$(JMTOOLS_API_VERSION).pc

dist_noinst_SCRIPTS = autogen.sh jmtools.sln jmtools/jmtools.vcxproj jmtools/jmtools.vcxproj.filters
